package com.zx.oa.service.marketTypeClass;

import com.zx.oa.dao.marketTypeClass.MarketTypeClassDao;
import com.zx.oa.dao.marketTypeClass.MarketTypeClassDaoImpl;
import com.zx.oa.entity.MarketClass;

import java.util.List;

public class MarketTypeClassServiceImpl implements MarketTypeClassService {

    MarketTypeClassDao marketClassDao=new MarketTypeClassDaoImpl();

    @Override
    public List<MarketClass> getMarketClassInfo() {
        return marketClassDao.getMarketClassInfo();
    }

    @Override
    public List<String> getClassTypeAll() {
        return marketClassDao.getClassTypeAll();
    }

    @Override
    public MarketClass getMarketClassInfoByClassName(String className) {
        return marketClassDao.getMarketClassInfoByClassName(className);
    }

    @Override
    public List<MarketClass> getMarketClassInfoByType(String stuType) {
        return marketClassDao.getMarketClassInfoByType(stuType);
    }
}
